package org.hzz.promotions.types.req;

import io.gitee.pkmer.convention.page.query.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hzz.promotions.types.enums.coupon.CouponStatus;
import org.hzz.promotions.types.enums.coupon.DiscountType;
import org.hzz.promotions.types.enums.coupon.ObtainWay;

import java.time.LocalDateTime;

/**
 * @author <a href="mailto:1193094618@qq.com">pkmer</a>
 * <br>
 * <a href = "https://gitee.com/developeros/videos-online">Code Repository</a>
 * At 2024/8/30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CouponPageQuery extends PageQuery {
    @Schema(description = "优惠券名称",example = "2023年优惠券")
    private String name;

    @Schema(description = "优惠券类型，1：普通券。目前就一种，保留字段",example = "1")
    private Byte type;


    @Schema(description = "优惠券配置状态，1：待发放，2：未开始   3：进行中，4：已结束，5：暂停",example = "1")
    private CouponStatus status;

}
